import http from '../utils/http.js'

// 获取热门分类
export const apiGetClass = data => http.get('/user/tag/hot',data)

// 获取所有分类
export const apiGetClassAll = data => http.get('/user/tag/index',data)

// 输入框搜索
export const apiGetClassSearch = data => http.get('/user/tag/search',data)

// 点击标签搜索
export const apiGetClassIconSearch = data => http.get('/user/user/work/search',data)